package com.jy.modules.cims.common;

import org.springframework.web.servlet.ModelAndView;

import com.jy.platform.restservice.web.base.BaseController;
/**
 * 合约参数向导式界面帮助类
 * @author lixy
 *
 */
public final class CarouselUtil {
	/**
	 * 防止通过反射强行实例化
	 */
	private CarouselUtil(){
		throw new IllegalAccessError("不允许实例化！");
	}
	private static final String NEXT_PAGE="nextPage";
	private static final String LAST_PAGE="lastPage";
	private static final String NEXT_ID="nextId";
	private static final String PREV_ID="prevId";
	/**
	 * 从request当中提取前后页参数，放置到ModelAndView对象当中
	 * @param bc
	 * @param model
	 */
	/*public static void setParam2ModelAndView(BaseController bc,ModelAndView model){
		String nextId=bc.getParameterString(NEXT_PAGE);
		String prevId=bc.getParameterString(LAST_PAGE);
		if(nextId!=null)model.addObject(NEXT_ID, nextId);
		if(prevId!=null)model.addObject(PREV_ID, prevId);
	}*/
}
